home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr22 / reset11.zip / RESET.DOC < prev    next >
Text File  |  1993-05-13  |  3KB  |  95 lines

  1.  
  2.                      RESET.COM - A Public Domain utility
  3.                                  By Bruce Travers
  4.  
  5.                                  CIS: 72215,1272
  6.  
  7.                                  GEnie: TRAVERS
  8. -----------------------------------------------------------------------
  9.  
  10. RESET Version 1.0
  11. -----------------
  12.  
  13. This utility allows you to maintain several different environments
  14. on your PC via several AUTOEXEC.BAT and CONFIG.SYS files.
  15.  
  16. Right now I place the restriction that your environments be set up
  17. in a sub directory C:\BOOT and that your AUTOEXEC.BAT and CONFIG.SYS
  18. files reside on C:\.
  19.  
  20.                 USING RESET.COM
  21.                 ---------------
  22.  
  23. First you must create a directory on your C disk called BOOT. This
  24. directory will contain all your different AUTOEXEC and CONFIG files.
  25.  
  26. Environments use the following naming conventions:
  27.  
  28.                XXXXXXXX.CON   - For a CONFIG.SYS file
  29.                XXXXXXXX.AUT   - For an AUTOEXEC.BAT file
  30.  
  31. For example if you wanted an environment which would boot up your
  32. PC and automatically run Sidekick you could name your files
  33.  
  34.                SIDEKICK.CON and SIDEKICK.AUT
  35.                       or
  36.                SK.CON and SK.AUT
  37.  
  38. The key point is the first 1-8 characters must be the same and the
  39. AUTOEXEC file must end in .AUT, and the CONFIG file in .CON
  40.  
  41.  
  42. Once you have several of your favorite combinations of AUT and CON
  43. files in C:\BOOT you can start using RESET.COM.
  44.  
  45.     Syntax:    RESET filename
  46.  
  47.     Example: RESET SIDEKICK
  48.           or RESET SK
  49.  
  50. What will happen is the AUT and CON files will be copied over your
  51. AUTOEXEC.BAT and CONFIG.SYS files on C:\ and your system will reboot.
  52.  
  53. Notes:
  54. ------
  55. RESET by itself will cause a re-boot with no copying.
  56.  
  57. Don't worry that your root directory will not seem to have AUTOEXEC.BAT
  58. or CONFIG.SYS in it. I made them READ ONLY and HIDDEN to prevent
  59. unauthorized tampering. You can still TYPE them though.
  60.  
  61. If you have an All Charge Card you should use RESETA.COM which will
  62. also reset the charge card thus eliminating strange errors caused by
  63. the mapping not being reset.
  64.  
  65. If you make a typo or there is not a pair of CON and AUT files to
  66. match what you put for filename, the system will appear to hang. Either
  67. press CONTROL C to return to DOS at this point, or wait a few seconds
  68. for the R)etry, A)bort message from DOS.
  69.  
  70. This has only been tested on DOS 3.x... If you have anything less and
  71. it doesnt work that is because I used the new 3.x way of opening and
  72. closing files...
  73.  
  74. RESET Version 1.1
  75. -----------------
  76.  
  77. - Files should no longer get garbled when you overwrite a large CONFIG
  78.   or AUTOEXEC with a smaller one.
  79.  
  80. - For fast machines you may try RESET filename /Px where x is a digit
  81.   from 1 to 9. This will cause a slight pause to allow things to
  82.   quiet down before rebooting. (1 is about 1/2 second on an 8mhz AT,
  83.   9 is about 4 1/5 seconds).
  84.  
  85. - RESET filename /A can be used to overried the hiding of the files in
  86.   your root directory.
  87.  
  88. - If CONFIG.SYS and/or AUTOEXEC.BAT do not exist then they will
  89.   be created by RESET instead of giving you an error.
  90.  
  91. Well that's about it. If you have any questions/comments or suggestions
  92. please feel free to drop me a line on CompuServe or GEnie. If you want
  93. to make sure I get your messages use EMAIL because I seldom read the
  94. SIG messages.
  95.